<div id="wrapper-content">
    <table width="100%" class="list">
        <thead>
        <th>Img</th>
        <th>Nom</th>
        <th>Cat&eacute;gorie</th>
        <th>Prix</th>
        <th colspan="2">Action</th>

        </thead>
        <?php foreach ($query as $aRow): ?>
            <tr>
                <td width="120px"><img border="0" width="100px" src="<?php echo base_url() . 'assets/productimg/' . $aRow['img'] ?>"/></td>
                <td><?php echo $aRow['nom']; ?></td>
                <td><?php echo $aRow['catnom']; ?></td>
                <td><?php if ($aRow['prix'] != "")
                echo $aRow['prix'] . ' &euro;'; else
                echo "N/A"; ?></td>
                <td width="70px"><a  href="#" ><img border="0"src="<?php echo base_url() . 'assets/admin/' ?>images/modifier.png"/></a></td>
                <td width="70px">
                    <a class="supprimer" href="#" ><img border="0"src="<?php echo base_url() . 'assets/admin/' ?>images/supprimer.png"/></a>
                <div style="display:none">
		    	Confirmer <br/>
                    <a href="#"> <img border="0"src="<?php echo base_url() . 'assets/admin/' ?>images/oui.png"/></a>
                    <a class="non" href="#" ><img  border="0"src="<?php echo base_url() . 'assets/admin/' ?>images/non.png"/></a>
                </div>
            </td>

        </tr>
    <?php endforeach; ?>
                    </table>
<?php echo $pagination; ?>
</div>
<!--END wrapper-content-->
